
import React, { PureComponent } from 'react';
import { connect } from 'dva';
import { routerRedux } from 'dva/router';
import { Form, Button, Card } from 'antd';
import Img from 'react-image';
import DescriptionList from '../../components/DescriptionList';
import PageHeaderLayout from '../../layouts/PageHeaderLayout';


const { Description } = DescriptionList;


@connect(({ bussiness, loading }) => ({
  bussiness,
  loading: loading.models.bussiness,
}))
@Form.create()
export default class RenewOrderFailure extends PureComponent {
  state = {
  }
  componentDidMount() {
  }
  ContinueReview =() => {
    this.props.dispatch(routerRedux.push('/account/reneworder'));
  }
  render() {
    return (
      <PageHeaderLayout title="用戶管理">
        <Card title="订单不通过审核" style={{ textAlign: 'center', justifyContent: 'center' }}>
          <DescriptionList size="large" title="" style={{ marginBottom: 32 }} col={1}>
            <Img style={{ width: 170, height: 90, marginBottom: 42 }} src="./img/icon-3.png" />
            <div style={{ marginBottom: 32 }}>审核不通过</div>
            <div style={{ marginBottom: 42 }}>不通过的原因系统已发送给用户。。</div>
          </DescriptionList>
          <Description term="">
            <Button style={{ width: 130, marginTop: 70 }} type="primary" onClick={this.ContinueReview}>
              继续审核订单
            </Button>
          </Description>
        </Card>
      </PageHeaderLayout>
    );
  }
}
